package org.opens.magicByte.entity;

import com.github.misterchangray.core.annotation.MagicClass;
import com.github.misterchangray.core.annotation.MagicField;
import lombok.Data;

/**
 * 功能描述
 *
 * @author: zhangyuming
 * @date: 2023/9/18 11:26
 */
@Data
@MagicClass()
public class HasArrayObj {

    @MagicField(order = 0)
    public byte field1;

    @MagicField(order = 1, size = 4)
    public byte[] arr;

    @MagicField(order = 2)
    public byte field2;

}
